﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SmartSpace.Core;

namespace SmartSpace.Workflow
{
    public class WorkflowInstance : IKeyEntity
    {
        public Guid Id { get; set; }
        public Guid WorkflowId { get; set; }
        public Guid RefId { get; set; }
        public string RefModule { get; set; }
        public string Caption { get; set; }
        public DateTime CreatedDate { get; set; }
        public string Creator { get; set; }
        /// <summary>
        /// 当前状态
        /// </summary>
        public Guid CurActivityId { get; set; }

        public void Validation()
        {
        }
    }
}
